import http from "@/utils/request";
//封装项目的请求
/*  轮播图相关的请求  */

// 登录请求
function addRequest(category,name,link, url,desc, coverImage){
   return http({
    method: "post",
    url: "/api/v1/admin/banner",
    data: { category,name,link, url,desc, coverImage},
   })
}


export { addRequest};